<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"/>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<div class="ui grid">
    <div class="row">
        <div class="column">
            <div class="ui two column grid">
                <div class="three wide column">
                    <jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
                        <jsp:param name="index" value="2502"/>
                    </jsp:include>
                </div>
                <div id="container" class="thirteen wide column">
                    <ol class="breadcrumb">
						<li><a href="/">后台管理</a></li>
						<li class="active">企业信息导航</li>
					</ol>  
                    <ul class="nav nav-pills" role="tablist">
                        <li role="presentation" class="active"><a href="/navigate/add">录入企业信息导航</a></li>
                    </ul>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>内容分类</th>
                            <th  width="30%">导航名称</th>
                            <th >导航路径</th>
                            <th>排序</th>
                            <th>状态</th>
                            <th>创建人</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <c:forEach items="${paginate.pageList}" var="navigate">
                            <tr>
                                <td>${navigate.code}</td>
                                <td><a  href="">${navigate.navName}</a></td>
                                <td>${navigate.pathUrl}</td>
                                <td>${navigate.priority}</td>   
                                <td>
                                    <c:choose>
                                        <c:when test="${navigate.isDisable==1}">已禁用</c:when>
                                        <c:when test="${navigate.isDisable==0}">已启用</c:when>
                                    </c:choose>    
                                </td>
                                <td>${navigate.createUser}</td>
                               
                                <td>
                                    <a   class="btn active btn-primary" onclick="return confirm('确实要编辑吗？')" href="/navigate/${navigate.id}/edit" target="_blank">编辑</a>
                                    <a   class="btn active btn-danger" onclick="return confirm('确实要删除吗？')"href="/navigate/${navigate.id}/del" target="_blank">删除</a>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                    <div class="page-info clearfix">
                         <jsp:include page="/WEB-INF/jsp/common/_page.jsp"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
